//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Charlottesville Opera: The Pirates of Penzance','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','7/11/2025','7:00 PM','7150211','Charlottesville-Opera--The-Pirates-of-Penzance-7-11-2025'],['Charlottesville Opera: The Pirates of Penzance','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','7/12/2025','2:00 PM','7150212','Charlottesville-Opera--The-Pirates-of-Penzance-7-12-2025'],['Charlottesville Opera: The Pirates of Penzance','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','7/13/2025','2:00 PM','7150213','Charlottesville-Opera--The-Pirates-of-Penzance-7-13-2025'],['The Little Mermaid Jr.','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','8/2/2025','2:00 PM','7215877','The-Little-Mermaid-Jr--8-2-2025'],['The Little Mermaid Jr.','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','8/2/2025','7:00 PM','7217143','The-Little-Mermaid-Jr--8-2-2025'],['Straight No Chaser','Paramount Theater Of Charlottesville','Charlottesville, VA','Wednesday','8/6/2025','7:30 PM','6991570','Straight-No-Chaser-8-6-2025'],['Dweezil Zappa','Paramount Theater Of Charlottesville','Charlottesville, VA','Monday','8/11/2025','8:00 PM','7057374','Dweezil-Zappa-8-11-2025'],['Justin Willman','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','8/16/2025','7:00 PM','7175774','Justin-Willman-8-16-2025'],['Todd Rundgren','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','8/26/2025','7:30 PM','7241722','Todd-Rundgren-8-26-2025'],['George Thorogood and The Destroyers','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','9/6/2025','8:00 PM','7107087','George-Thorogood-and-The-Destroyers-9-6-2025'],['Ryan Adams','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','9/16/2025','8:00 PM','6959726','Ryan-Adams-9-16-2025'],['World Ballet Company: Cinderella','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','9/26/2025','7:00 PM','7101149','World-Ballet-Company--Cinderella-9-26-2025'],['Black Violin','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','9/30/2025','7:30 PM','7122283','Black-Violin-9-30-2025'],['Anjelah Johnson-Reyes','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','10/4/2025','8:00 PM','7038227','Anjelah-Johnson-Reyes-10-4-2025'],['Trae Crowder','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','10/5/2025','7:00 PM','7175998','Trae-Crowder-10-5-2025'],['Soweto Gospel Choir','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','10/9/2025','7:30 PM','7150209','Soweto-Gospel-Choir-10-9-2025'],['Home Free','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','11/6/2025','7:30 PM','7233305','Home-Free-11-6-2025'],['Matt Lewis','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','12/4/2025','7:00 PM','7176856','Matt-Lewis-12-4-2025'],['Nutcracker! Magical Christmas Ballet','Paramount Theater Of Charlottesville','Charlottesville, VA','Monday','12/8/2025','7:00 PM','7066702','Nutcracker--Magical-Christmas-Ballet-12-8-2025'],['Jim Brickman','Paramount Theater Of Charlottesville','Charlottesville, VA','Wednesday','12/17/2025','7:30 PM','7147638','Jim-Brickman-12-17-2025']],'Paramount Theater Charlottesville','http://www.ticketnetwork.com/ticket/Paramount-Theater-Charlottesville-events.aspx');